package com.knowledge.plus.other.mapstruct实体类转换.pojo;

import lombok.Data;

import java.util.Date;

/**
 * @author TPF
 * @since 2024/1/23
 */
@Data
public class PersonDo {

    private Integer id;
    private String name;
    private int age;
    private Date birthday;
    private String gender;

    public PersonDo() {
        this.id = 111;
        this.name = "类转换器";
        this.age = 18;
        this.birthday = new Date();
        this.gender = Gender.MALE.name();
    }

}
